package com.gimi.test_jpa.com.gimi.jpa.login;

import com.gimi.test_jpa.com.gimi.entity.login.Account;
import com.gimi.test_jpa.com.gimi.entity.login.Role;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.query.Param;

public interface RoleJap extends JpaRepository<Role,String> {
    public Role findByAccountId (@Param("accountId") String accountId);
}
